package com.fish.service.impl.passport;

import java.util.List;
import java.util.Map;

import com.fish.passport.dao.PassEventDAO;
import com.fish.passport.po.PassEvent;
import com.fish.service.passport.PassEventService;

/**
 * @author shihui
 * */
public class PassEventServiceImpl implements PassEventService {
	private PassEventDAO passEventDAO;

	public void addEvent(PassEvent event) {
		passEventDAO.addEvent(event);
	}

	public List<PassEvent> queryEvents(Map<String, Object> params) {
		return passEventDAO.selectByParams(params);
	}

	public void updateEvent(PassEvent event) {
		passEventDAO.updateEvent(event);
	}

	public void setPassEventDAO(PassEventDAO passEventDAO) {
		this.passEventDAO = passEventDAO;
	}



}
